package com.jiang.vo;

@SuppressWarnings("serial")
public class Worker extends Member {

	private String company;
	private Double salary;

	public Worker() {

	}

	public Worker(String company, Double salary) {
		super();
		this.company = company;
		this.salary = salary;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSlary(Double salary) {
		this.salary = salary;
	}

	@Override
	public String toString() {
		return "Worker [company=" + company + ", salary=" + salary + "]";
	}

}
